/***********************************************************************************
Copy right:	    Coffee Tech.
Author:         jiaoyue
Date:           2022-03-23
Description:    console模块
***********************************************************************************/

#ifndef LOG_CONSOLE_H
#define LOG_CONSOLE_H

#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>

//#define CONFIG_ARCH_X86

#ifdef CONFIG_ARCH_X86
#define LOG_CONSOLE         "/dev/pts/0"
#else
#define LOG_CONSOLE         "/dev/tty1"
#endif

int log_console_init();
int log_console(const char *format, ...);

#endif  // LOG_CONSOLE_H
